<textarea id="editor1" cols="10" rows="10"></textarea>
<script>
	// Currently balloon toolbar is not integrated with old IE browsers.
	if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ) {
		bender.ignore();
	}

	CKEDITOR.plugins.add( 'testplugin', {
		requires: 'balloontoolbar',
		init: function( editor ) {
			if ( typeof editor.balloonToolbars === 'undefined' ) {
				throw 'editor.balloonToolbars should be initialized';
			}
		}
	} );

	CKEDITOR.replace( 'editor1', {
		extraPlugins: 'testplugin'
	} );
</script>
